import router from '@system.router';
export default {
    data: {
        title: 'World',

        itemImagePath:[
            "/common/images/ring.png",
            "/common/images/smartphone.png"],

        currentIndex: 0

    },

    onInit(){
        this.itemImagePath = router.getParams().itemImagePath;
        this.currentIndex = router.getParams().currentIndex;
//        this.$element("swiper").swipeTo({index: this.currentIndex})
    },
    back(){
        router.back()
    },

}
